import { Request, Response } from "express"
import sassTran from "../scss_tran/index.js"
export const index = async (req: Request, res: Response) => {
  try {
    let txt = await sassTran.deal(req.body.a)
    res.json({
      title: txt
    })
  } catch (e:any) {
    let error = e.message
    res.json({
      error
    })
  }
}
